.class Lcom/brixd/niceapp/community/activity/AlbumListActivity$1;
.super Ljava/lang/Object;
.source "AlbumListActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/activity/AlbumListActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/activity/AlbumListActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/activity/AlbumListActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/activity/AlbumListActivity;

    .prologue
    .line 94
    iput-object p1, p0, Lcom/brixd/niceapp/community/activity/AlbumListActivity$1;->this$0:Lcom/brixd/niceapp/community/activity/AlbumListActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .registers 11
    .param p2, "view"    # Landroid/view/View;
    .param p3, "position"    # I
    .param p4, "id"    # J
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 98
    .local p1, "parent":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    new-instance v2, Landroid/content/Intent;

    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AlbumListActivity$1;->this$0:Lcom/brixd/niceapp/community/activity/AlbumListActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/AlbumListActivity;->getContext()Landroid/content/Context;
    invoke-static {v3}, Lcom/brixd/niceapp/community/activity/AlbumListActivity;->access$000(Lcom/brixd/niceapp/community/activity/AlbumListActivity;)Landroid/content/Context;

    move-result-object v3

    const-class v4, Lcom/brixd/niceapp/community/activity/AlbumActivity;

    invoke-direct {v2, v3, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 99
    .local v2, "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AlbumListActivity$1;->this$0:Lcom/brixd/niceapp/community/activity/AlbumListActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/AlbumListActivity;->mAlbumModels:Ljava/util/ArrayList;
    invoke-static {v3}, Lcom/brixd/niceapp/community/activity/AlbumListActivity;->access$100(Lcom/brixd/niceapp/community/activity/AlbumListActivity;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v3, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/brixd/niceapp/community/model/AlbumModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/community/model/AlbumModel;->getAlbumId()J

    move-result-wide v0

    .line 100
    .local v0, "albumId":J
    const-string v3, "AlbumId"

    invoke-virtual {v2, v3, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;

    .line 101
    const-string v3, "LastSelectedCount"

    iget-object v4, p0, Lcom/brixd/niceapp/community/activity/AlbumListActivity$1;->this$0:Lcom/brixd/niceapp/community/activity/AlbumListActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/AlbumListActivity;->mLastSelectedCount:I
    invoke-static {v4}, Lcom/brixd/niceapp/community/activity/AlbumListActivity;->access$200(Lcom/brixd/niceapp/community/activity/AlbumListActivity;)I

    move-result v4

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 102
    iget-object v3, p0, Lcom/brixd/niceapp/community/activity/AlbumListActivity$1;->this$0:Lcom/brixd/niceapp/community/activity/AlbumListActivity;

    const/16 v4, 0x3f2

    invoke-virtual {v3, v2, v4}, Lcom/brixd/niceapp/community/activity/AlbumListActivity;->startActivityForResult(Landroid/content/Intent;I)V

    .line 103
    return-void
.end method
